package com.lucy.viewer.event;

import com.lucy.viewer.params.ViewerFile;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * @author kindear
 * 文件已编辑完事件
 */
@Getter
public class FileEditedEvent extends ApplicationEvent {
    ViewerFile file;

    public FileEditedEvent(Object source,ViewerFile file) {
        super(source);
        this.file = file;
    }

    public FileEditedEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
